package com.yuantu.judiciary.model.vo;

import com.yuantu.judiciary.model.enums.AuthResultType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * 查询记录个人尽调数据
 *
 * @author syw
 * @since 2023-07-06
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("查询记录个人尽调数据")
public class QueryRecordPersonVO {
    @ApiModelProperty("查询结果id")
    private Long id;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("身份证号")
    private String idNumber;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("查询结果")
    private AuthResultType queryResult;
    @ApiModelProperty("发起时间")
    private Timestamp createTime;
    @ApiModelProperty("是否关注")
    private Boolean isFollow;
    @ApiModelProperty("认证结果")
    private String checkResult;
    @ApiModelProperty("最新获取时间")
    private Timestamp latestDataTime;
    @ApiModelProperty("是否是示例")
    private Boolean isExample;
    @ApiModelProperty("是否退款")
    private Boolean isRefund;
    @ApiModelProperty("是否展示 true 展示查询结果 false 不展示查询结果")
    private Boolean isShow;

    public QueryRecordPersonVO(Long id, String name, String idNumber, String phone, AuthResultType queryResult,
                               Timestamp createTime, Boolean isFollow, String checkResult, Timestamp latestDataTime,
                               Boolean isExample, Boolean isRefund) {
        this.id = id;
        this.name = name;
        this.idNumber = idNumber;
        this.phone = phone;
        this.queryResult = queryResult;
        this.createTime = createTime;
        this.isFollow = isFollow;
        this.checkResult = checkResult;
        this.latestDataTime = latestDataTime;
        this.isExample = isExample;
        this.isRefund = isRefund;
    }
}
